from afast_core.core_tools.encrypt_helper import md5
from afast_core.core_tools.jwt_helper import SimpleAuth
from infirmary_admin_src.infirmary_common.infirmary_controller import IBaseController
from infirmary_admin_src.infirmary_common.infirmary_controller.rest_controller_with_depends import \
    RestControllerWithDepends
from fastapi import Request

from infirmary_admin_src.infirmary_smart_admin.infirmary_biz.system.login.schemas import SchemaBase
from infirmary_admin_src.infirmary_smart_admin.infirmary_biz.system.login.services import LogicBusinesses
from infirmary_admin_src.infirmary_smart_admin.infirmary_utils.convert2_help import convert_dict_to_camel_case


class XParam(SchemaBase):
    '''
    账号密码登录参数
    '''



class IController(IBaseController):
    '''
    定制相关约束检测函数逻辑步序
    '''

    def __init__(self, *, request: Request,
                 ):
        super().__init__(request=request)
        # 入参参数


@RestControllerWithDepends()
class AuthlogOutController(IController):

    def business_login(self):
        pass
        return []
